package com.itheima.search.mapper;

import com.itheima.search.pojo.ApUserSearch;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * APP用户搜索信息表 Mapper 接口
 * </p>
 *
 * @author 作者
 * @since 2021-09-02
 */
public interface ApUserSearchMapper extends BaseMapper<ApUserSearch> {

    @Select("select * from ap_user_search where entry_id=#{entry_id} limit 5")
    List<ApUserSearch> searchList(Integer entryId);
}
